import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 98152
 * Date: 2025-03-11
 * Time: 10:18
 */
public class Test {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int a = in.nextInt();
        in.nextLine();
        String s = in.nextLine();
        char ch = s.charAt(0);
        System.out.println(a);
        System.out.println(ch);
    }
}
